$(function () {
	container2 = new Highcharts.Chart({
		chart: {
			renderTo: 'container2',
			type: 'column'
        },
        title: {
            text: ''
        },
        xAxis: {
            categories: ['偏瘦', '正常', '超重', '肥胖']
        },
        yAxis: {
            min: 0,
            title: {
                text: '高血压与BMI'
            }
        },
        tooltip: {
            pointFormat: '<span style="color:{series.color}">{series.name}</span>: <b>{point.y}</b> ({point.percentage:.0f}%)<br/>',
            shared: true
        },
        plotOptions: {
            column: {
                stacking: 'percent'
            }
        },
            series: [{
            name: '正常',
            data: [98.2, 92.3, 81, 71.6],
            color:'#6c99ca'
        }, {
            name: '高血压',
            data: [1.8, 7.7, 19.0, 28.4],
            color:'#F64516'
        }]
    });
});				